package com.zlkj.pro.modular.admin.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.admin.model.dto.MaterialAdminDTO;
import com.zlkj.pro.modular.admin.model.vo.MaterialAdminVO;
import com.zlkj.pro.modular.common.entity.MaterialEntity;

import java.util.List;

/**
 * @author 孙铭泽
 * @date 2022/9/24
 * @time 14:28
 */
public interface MaterialAdminService extends IService<MaterialEntity> {

    PageResult<MaterialAdminVO> findPage(MaterialAdminDTO materialAdminDTO);

    List<MaterialAdminVO> findList(MaterialAdminDTO materialAdminDTO);

    MaterialAdminVO findDetail(MaterialAdminDTO materialAdminDTO);

    boolean add(MaterialAdminDTO materialAdminDTO);

    boolean edit(MaterialAdminDTO materialAdminDTO);

    boolean delete(MaterialAdminDTO materialAdminDTO);

}
